//
//  ChangePlayerMenu.h
//  CChangePlayerMenu: ...
//
//  Created by Enric Vergara on 20.10.12. 
//  Copyright OWLAB 2010. All rights reserved.


//---- Imports-----
//...
//-----------------

//---Define new types----
//....
//-----------------------

@class CPlayer;

// CChangePlayerMenu Layer
@interface CChangePlayerMenu : CCLayer
{
    
@public
    
@private
    CPlayer             * m_Player;
    CCMenu              * m_Menu;
    CCMenuItemFont      * m_Button_Player_Network;
    CCMenuItemFont      * m_Button_Player_Local;
    CCMenuItemFont      * m_Button_Player_AI;
    CCMenuItemFont      * m_Button_Cancel;
    CCLabel             * m_sTitleLabel;       
    CCSprite            * m_Background;
    bool                m_bButton_Player_Network;
    bool                m_bButton_Player_AI;
    bool                m_bButton_Player_Local;
}

-(void) activeMenu;
-(void) setPlayer:(CPlayer*) player;
-(void) Choose_Player_AI: (id) sender;
-(void) Choose_Player_Local: (id) sender;
-(void) Choose_Player_Network: (id) sender;
-(void) Cancel: (id) sender;

@end
